package com.aismy.admin.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName("eval_question")
public class Question {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private Long scaleId;
    
    private String content;
    
    private String type;
    
    private Integer score;

    private Integer sort;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;

    @TableField(exist = false)
    private String scaleName;

    private List<QuestionOption> options;
} 